package com.longqin.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 工作实例节点配置表
 * </p>
 *
 * @author longqin
 * @since 2025-01-09
 */
@Getter
@Setter
@TableName("wf_worknode")
@ApiModel(value = "WfWorknode对象", description = "工作实例节点配置表")
public class WfWorknode implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("实例ID")
    @TableField("work_id")
    private Integer workId;

    @ApiModelProperty("节点ID")
    @TableField("node_id")
    private Integer nodeId;

    @ApiModelProperty("处理人ID")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty("流程ID")
    @TableField("flow_id")
    private Integer flowId;

    @ApiModelProperty("是否启用：1-是，0-否")
    @TableField("inuse")
    private Integer inuse;


}
